Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix loading datasets traffic_2008_10T and traffic_2008_hourly #462

Merged
merged 4 commits into from
Aug 29, 2024

Conversation

d-a-bunin
Copy link
Collaborator

@d-a-bunin d-a-bunin commented Aug 28, 2024

Before submitting (must do checklist)

  • Did you read the contribution guide?
  • Did you update the docs? We use Numpy format for all the methods and classes.
  • Did you write any new necessary tests?
  • Did you update the CHANGELOG?

Proposed Changes

Fix holidays dates. It seems like on new version of holidays the holidays aren't correct. There were also incorrect holidays with missing values. The new values are taken from the source

Closing issues

Closes #455.

@d-a-bunin d-a-bunin self-assigned this Aug 28, 2024
Copy link

github-actions bot commented Aug 28, 2024

🚀 Deployed on https://deploy-preview-462--etna-docs.netlify.app

@github-actions github-actions bot temporarily deployed to pull request August 28, 2024 12:36 Inactive
Copy link

codecov bot commented Aug 28, 2024

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 90.41%. Comparing base (1b19c2f) to head (baa4101).
Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
etna/datasets/internal_datasets.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #462      +/-   ##
==========================================
- Coverage   90.41%   90.41%   -0.01%     
==========================================
  Files         229      229              
  Lines       15940    15939       -1     
==========================================
- Hits        14412    14411       -1     
  Misses       1528     1528              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

etna/datasets/internal_datasets.py Show resolved Hide resolved
date(2009, 1, 1),
date(2009, 1, 19),
date(2009, 2, 16),
] + [date(2008, 3, 8), date(2009, 3, 9)]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can include this dates in the list above, maybe add a comment if needed

tests/test_datasets/test_internal_datasets.py Outdated Show resolved Hide resolved
@github-actions github-actions bot temporarily deployed to pull request August 29, 2024 10:59 Inactive
@egoriyaa
Copy link
Collaborator

May be we can write issue to holidays github about wrong dates?

@d-a-bunin
Copy link
Collaborator Author

Created a bug: vacanza/python-holidays#1963

@github-actions github-actions bot temporarily deployed to pull request August 29, 2024 13:29 Inactive
@d-a-bunin d-a-bunin merged commit b19507d into master Aug 29, 2024
17 checks passed
@d-a-bunin d-a-bunin deleted the issue-455 branch August 29, 2024 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Loading of some internal datasets fails
3 participants